package com.xueyi.system.BasePlantKind.service.impl;

import com.xueyi.system.BasePlantKind.domain.query.BasePlantKindQuery;
import com.xueyi.system.BasePlantKind.domain.dto.BasePlantKindDto;
import com.xueyi.system.BasePlantKind.service.IBasePlantKindService;
import com.xueyi.system.BasePlantKind.manager.IBasePlantKindManager;
import com.xueyi.common.web.entity.service.impl.BaseServiceImpl;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * 种植种类管理 服务层处理
 *
 * @author xueyi
 */
@Service
public class BasePlantKindServiceImpl extends BaseServiceImpl<BasePlantKindQuery, BasePlantKindDto, IBasePlantKindManager> implements IBasePlantKindService {

    /**
     * 查询种植种类对象列表 | 数据权限 | 附加数据
     *
     * @param basePlantKind 种植种类对象
     * @return 种植种类对象集合
     */
    @Override
    //@DataScope(userAlias = "createBy", mapperScope = {"BasePlantKindMapper"})
    public List<BasePlantKindDto> selectListScope(BasePlantKindQuery basePlantKind) {
        return baseManager.selectListExtra(basePlantKind);
    }

}